# 配置
import os

class GitCodeEnv:
    GITCODE_API_URL = os.getenv('GITCODE_API_URL', 'https://api.gitcode.com')
    GITCODE_TOKEN = os.getenv('GITCODE_TOKEN', '')


class DataBaseEnv:
    DB_HOST = os.getenv('DB_HOST', '10.29.76.252')
    DB_PORT = os.getenv('DB_PORT', '5432')
    DB_NAME = os.getenv('DB_NAME', 'opencann')
    DB_USER = os.getenv('DB_USER', 'postgres')
    DB_PASSWORD = os.getenv('DB_PASSWORD', 'password')